﻿
Public MustInherit Class _int64
    Public MustOverride Function n() As Int64

    Public Shared Operator +(ByVal this As _int64) As Int64
        If this Is Nothing Then
            Return npos
        Else
            Return this.n()
        End If
    End Operator
End Class

Public Class _0
    Inherits _int64

    Public Overrides Function n() As Int64
        Return 0
    End Function
End Class

Public Class _1
    Inherits _int64

    Public Overrides Function n() As Int64
        Return 1
    End Function
End Class

Public Class _2
    Inherits _int64

    Public Overrides Function n() As Int64
        Return 2
    End Function
End Class

Public Class _10
    Inherits _int64

    Public Overrides Function n() As Int64
        Return 10
    End Function
End Class

Public Class _15
    Inherits _int64

    Public Overrides Function n() As Int64
        Return 15
    End Function
End Class

Public Class _16
    Inherits _int64

    Public Overrides Function n() As Int64
        Return 16
    End Function
End Class

Public Class _63
    Inherits _int64

    Public Overrides Function n() As Int64
        Return 63
    End Function
End Class

Public Class _64
    Inherits _int64

    Public Overrides Function n() As Int64
        Return 64
    End Function
End Class

Public Class _120
    Inherits _int64

    Public Overrides Function n() As Int64
        Return 120
    End Function
End Class

Public Class _maxUInt8
    Inherits _int64

    Public Overrides Function n() As Int64
        Return maxUInt8
    End Function
End Class

Public Class _1023
    Inherits _int64

    Public Overrides Function n() As Int64
        Return 1023
    End Function
End Class

Public Class _1024
    Inherits _int64

    Public Overrides Function n() As Int64
        Return 1024
    End Function
End Class

Public Class _1200
    Inherits _int64

    Public Overrides Function n() As Int64
        Return 1200
    End Function
End Class

Public Class _3600
    Inherits _int64

    Public Overrides Function n() As Int64
        Return 3600
    End Function
End Class

Public Class _16381
    Inherits _int64

    Public Overrides Function n() As Int64
        Return 16381
    End Function
End Class

Public Class _16383
    Inherits _int64

    Public Overrides Function n() As Int64
        Return 16383
    End Function
End Class

Public Class _maxUInt16
    Inherits _int64

    Public Overrides Function n() As Int64
        Return maxUInt16
    End Function
End Class

Public Class _99991
    Inherits _int64

    Public Overrides Function n() As Int64
        Return 99991
    End Function
End Class

Public Class _131071
    Inherits _int64

    Public Overrides Function n() As Int64
        Return 131071
    End Function
End Class

Public Class _maxInt64
    Inherits _int64

    Public Overrides Function n() As Int64
        Return maxInt64
    End Function
End Class
